﻿@model asMeishi.web.Models.dict

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>dict</legend>

    <div class="display-label">name</div>
    <div class="display-field">@Model.name</div>

    <div class="display-label">value</div>
    <div class="display-field">
    @foreach (var item in Model.value ?? new Dictionary<string,string>())
    {
        <table>
        <tr>
        <th>key</th>
        <th>val</th>
        </tr>
        <tr>
        <td>@item.Key</td>
        <td>@item.Value</td>
        </tr>
        </table>
    }
    </div>

</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}


